package com.tebiecloud.mpweixin.server.service;

import com.tebiecloud.mpweixin.client.model.entity.MpweixinUser;

/**
 * 公众号接口
 * @Author: tebie
 * @Date: 2019-09-10 13:10
 */
public interface MpweixinApiService {

    /**
     * 网页授权，通过 code 换取 access_token
     * @param accessToken
     * @param openid
     * @return
     */
    MpweixinUser getMpweixinUser(String accessToken, String openid);

}
